package com.spring.autowire;

        import com.spring.dao.UserDao;

/**
 * @ClassName: AutowireService
 * @Description: TODO
 **/
public class AutowireService {
    private UserDao userDao;

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    public int save(){
        return userDao.save();
    }
}
